//
//  ImportTipController.m
//  Unzip
//
//  Created by zhibao on 2024/2/16.
//

#import "ImportTipController.h"

@interface ImportTipController ()

@end

@implementation ImportTipController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.gk_navTitle = LocalizedString(@"语音备忘录导入");
    UILabel *oneLabel = [[UILabel alloc]init];
    oneLabel.text = LocalizedString(@"①、打开手机自带的语音备忘录APP，找到需要分享的文件，点击右上角的【…】，再点击分享；");
    oneLabel.font = MY_SCALE_RegularFONT(14);
    oneLabel.textColor = MyColor(@"ffffff");
    oneLabel.numberOfLines = 0;
    oneLabel.lineBreakMode = NSLineBreakByWordWrapping;
    [self.view addSubview:oneLabel];
    [oneLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.mas_equalTo(pixw(15));
        make.right.mas_equalTo(pixw(-15));
        make.top.mas_equalTo(NAVIH + pixw(20));
    }];
    
    UIImageView *oneImgView = [[UIImageView alloc] init];
    oneImgView.image = [UIImage imageNamed:@"h_import_1"];
    [self.view addSubview:oneImgView];
    [oneImgView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(oneLabel.mas_bottom).offset(pixw(10));
        make.centerX.equalTo(oneLabel);
    }];
    if(self.index == 2){
        self.gk_navTitle = LocalizedString(@"其他应用导入");
        oneLabel.text = LocalizedString(@"①、在手机安装的其他应用中打开需要导入的文件，点击右上角的【…】，选择用其他应用打开；");
        oneImgView.image = [UIImage imageNamed:@"h_import_1_1"];
    }
    
    UILabel *one2Label = [[UILabel alloc]init];
    one2Label.text = LocalizedString(@"②、在弹出的选择框选择“万能解压缩大师”APP导入即可。（若没看到，请滑动到APP最后侧点击后列表查找。）");
    one2Label.font = MY_SCALE_RegularFONT(14);
    one2Label.textColor = MyColor(@"ffffff");
    one2Label.numberOfLines = 0;
    one2Label.lineBreakMode = NSLineBreakByWordWrapping;
    [self.view addSubview:one2Label];
    [one2Label mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.right.equalTo(oneLabel);
        make.top.equalTo(oneImgView.mas_bottom).offset(pixw(20));
    }];
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
